package Recursion.Maze;

import Recursion.Maze.CheckException;
import Recursion.Maze.Maze;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ws
 * Date: 2022-12-02
 * Time: 22:05
 */
public class Test {
    public static void main(String[] args) throws CheckException {
        Maze maze = new Maze();
        maze.Create();
        maze.Show();
        maze.Barrier(2,2);
        maze.Show();
        maze.Barrier(2,1);
        //maze.Barrier(1,2);
        maze.FindWay(1,1);
        maze.Show();
    }
}
